raar.register
Class RAType

java.lang.Object
  extended by raar.register.RAType
All Implemented Interfaces:
java.io.Serializable, RAAssignable, RAEqualityComparable, RAAllowed, RAAllowedInList, RADataType, RANonElemDataType

public class RAType
extends java.lang.Object
implements RAAssignable, RADataType, RANonElemDataType, RAEqualityComparable, RAAllowedInList

See Also:
Serialized Form

Constructor Summary
RAType()
           
RAType(java.lang.String[] names, RAAllowedInType[] values)
           
 
Method Summary
 boolean canContain(RAAllowed other)
           
 java.lang.Object clone()
           
 boolean equals(RAEqualityComparable otherElement)
           
 RAAllowedInType get(java.lang.String name)
           
 int getType()
           
 RAAllowedInType[] getValues()
           
 RAAllowed makeClone()
           
 java.lang.String[] names()
           
 void set(java.lang.String name, RAAllowedInType newValue)
           
 boolean structureEquals(RAType t)
           
 boolean structureEquals(RAType t, boolean testNames)
           
 java.lang.String toString()
           
 RADataType value()
           
 RAAllowedInType[] values()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RAType

public RAType()

RAType

public RAType(java.lang.String[] names,
              RAAllowedInType[] values)
       throws RAException
Throws:
RAException
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface RADataType
Overrides:
clone in class java.lang.Object

getValues

public RAAllowedInType[] getValues()

makeClone

public RAAllowed makeClone()
                    throws RAException
Specified by:
makeClone in interface RAAllowed
Throws:
RAException

structureEquals

public boolean structureEquals(RAType t)

structureEquals

public boolean structureEquals(RAType t,
                               boolean testNames)

canContain

public boolean canContain(RAAllowed other)
Specified by:
canContain in interface RAAllowed

names

public java.lang.String[] names()

values

public RAAllowedInType[] values()

value

public RADataType value()
                 throws RAException
Specified by:
value in interface RAAssignable
Throws:
RAException

get

public RAAllowedInType get(java.lang.String name)

set

public void set(java.lang.String name,
                RAAllowedInType newValue)
         throws RAException
Throws:
RAException

equals

public boolean equals(RAEqualityComparable otherElement)
               throws RAException
Specified by:
equals in interface RAEqualityComparable
Throws:
RAException

getType

public int getType()
Specified by:
getType in interface RADataType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object